<#include '/pages/taglib/core.ftl'>
<#include '/pages/taglib/common.ftl'>

<#assign hasPermission = fn.service('loginUser').hasLinkPermission(fn.linkNoBase('/espirit/eap/pagelayout/page._addByPath',true), false)>
<#if hasPermission>
	<@form name='pageUndefinedForm' action='' from=actionPath>
	<div style="padding:20px">
		<@i18n name='页面未找到'/>
		
		
		, <@i18n name='点击'/> <a href="javascript:void(0)" onclick="definePage(this)"><@i18n name='这里'/></a> <@i18n name='创建'/>
		<script>
			function definePage(linkObj) {
				if (typeof gotoSelfDefinePage != 'undefined') {
					gotoSelfDefinePage(linkObj);
				} else {
					var subpage = '${fn.link('/espirit/eap/pagelayout/page._addByPath')}' + '?path=${fn.linkNoBase(actionPath,false)}';
					window.open(subpage + '&_layout=whole');
				}
			}
		</script>
	</div>
	</@form>
<#else>
	404, 页面没有找到
</#if>